package frametest;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

public class Perspective implements IPerspectiveFactory {

	public void createInitialLayout(IPageLayout layout) {
		layout.setEditorAreaVisible(false);
		
		layout.addView("topLeft", IPageLayout.LEFT, 0.25f, layout.getEditorArea());
		layout.addView("bottomLeft", IPageLayout.BOTTOM, 0.5f, "topLeft");
		
		
		layout.addView("topRight", IPageLayout.RIGHT, 0.70f, layout.getEditorArea());
		layout.addView("bottomRight", IPageLayout.BOTTOM, 0.5f, "topRight");
		
		
		layout.addView("topCenter", IPageLayout.TOP, 1f, layout.getEditorArea());
		layout.addView("bottomCenter", IPageLayout.BOTTOM, 0.7f, "topCenter");
	}
}
